package com.bdzl.biz.dao;

import com.bdzl.pub.entity.loan.OrderMailDO;

import java.util.List;
import java.util.Map;

/**
 * 贷款资料邮寄信息表
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:23:42
 */
public interface OrderMailDao {

	OrderMailDO get(Integer mailId);

	List<OrderMailDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(OrderMailDO orderMail);

	int update(OrderMailDO orderMail);

	int remove(Integer mail_id);

	int batchRemove(Integer[] mailIds);

	/**
	 * @Description: TODO 根据订单号查询邮寄信息
	 * @param mailOdr 订单号
	 * @return: com.bdzl.pub.entity.loan.OrderMailDO
	 * @Author: Ming
	 * @Date: 2021/5/29 16:14
	 */
	OrderMailDO getByMailOdr(String mailOdr);
}
